package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Answer;
import cn.wolfcode.trip.base.query.QueryObject;
import java.util.List;

public interface AnswerMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Answer entity);

    Answer selectByPrimaryKey(Long id);

    List<Answer> selectAll();

    int updateByPrimaryKey(Answer entity);

    List<Answer> selectByUserId(QueryObject qo);

    List<Answer> selectByQuestionId(QueryObject qo);
}